@import "header";
@import "bottom";


//nav 导航
nav {
    height: 60px;
    width: 100%;
    background: #bf040f;
    > ul {
        width: 1120px;
        margin: 0 auto;
        height: 60px;
        > li {
            float: left;
            a {
                display: block;
                line-height: 60px;
                font-size: 18px;
                color: #fff;
                font-weight: bolder;
                padding: 0px 28px;
                background: url(/images/header/menu_xian.png) right center no-repeat;
            }
            a:hover {
                color: yellow;
                text-decoration: underline;
            }
        }
        > li.menu_nav {
            height: inherit;
            text-align: center;
            line-height: 60px;
            width: 200px;
            background: url(/images/header/menu.png) -2px -51px no-repeat;
            display: block;
            font-size: 18px;
            color: #FFF;
            font-weight: bolder;
            // display: none;
        }
    }
}
//carousel 轮播图
.carousel {
    width: 100%;
    height: 420px;
    position: relative;
    .content {
        width: 1120px;
        height: 420px;
        margin: 0 auto;

        // 左边列表
        .left {
            width: 200px;
            height: 420px;
            float: left;
            background: #ef5c27;
            ul {

                li {
                    width: 184px;
                    border-top: 1px solid #e3450c;
                    padding-left: 16px;
                    height: 82px;
                    padding-top: 20px;
                    overflow: hidden;
                    float: left; 
                    h3 {
                        background: url(/images/index/nav_bj.png) -7px -96px no-repeat;
                        color: #FFF;
                        line-height: 42px;
                        font-size: 16px;
                        display: block;
                        text-indent: 22px;
                    }
                    div {
                        width: 172px;
                        height: 24px;
                        float: left;
                        overflow: hidden;
                        white-space: nowrap;
                    }
                    a {
                        color: #fff;
                        padding-right: 16px;
                        font-size: 14px;
                    }
                    a:hover {
                        text-decoration: underline;
                    }
                }
                li:nth-child(2) {
                    h3{
                        background-position: -6px -52px;
                    }
                }
                li:nth-child(3) {
                    h3{
                        background-position: -7px -6px;
                    }
                }
                li:hover {
                    background: #e33a19;
                }
                li:nth-child(3) {
                    position: relative;
                }
                li:nth-child(3):hover{
                    width: 383px;
                    z-index: 999;
                    overflow: visible;
                }
                li:nth-child(3):hover div {
                    overflow: visible;
                    z-index: 999;
                }
            }
            .clearboth {
                clear: both;
            }
            .left_hot {
                border-top: 1px solid #e3450c;
                padding-top: 26px;
                padding-left: 16px;
                height: 80px;
                a {
                    display: block;
                    background: #ffffff;
                    width: 164px;
                    height: 36px;
                    line-height: 36px;
                    text-align: center;
                    font-size: 18px;
                    font-weight: bolder;
                    position: relative;
                    color: #ec4828;
                }
            }
        }


        // 右边列表
        .right {
            float: right;
            width: 190px;
            height: 420px;
            .right_top {
                padding: 10px 12px 0px 12px;
                height: 173px;
                font-size: 12px;
                background: #fff;
                margin-bottom: 1px;
                h3 {
                    line-height: 32px;
                    font-size: 14px;
                    height: 32px;
                    background: url(/images/index/dian2.png) 0px center no-repeat;
                    text-indent: 10px;
                    display: block;
                    white-space: nowrap;
                }
                a {
                    line-height: 24px;
                    height: 24px;
                    overflow: hidden;
                    color: #333;
                    display: block;
                }
                a:hover {
                    text-decoration: underline;
                }
                a:nth-child(2) {
                    color: #bf040f;
                    font-weight: bolder;
                }
            }

            a.right_bottom {
                width: 190px;
                height: 236px;
                display: block;
                background: #fff;
                img {
                    width: 190px;
                    height: 236px;
                    background: none;
                }
            }
        }
    }

    // 轮播图
    .banning {
        width: 100%;
        height: 420px;
        overflow: hidden;
        position: absolute;
        left: 0;
        top: 0;
        z-index: -2;
        div.ban {
            width: 100%;
            height: 420px;
            position: absolute;
            a {
                width: 100%;
                height: 420px;
                display: block;
            }
            a.ac {
                // display: block !important;
            }
            a.ban_1 {
                background: url(https://img.dnfcity.qq.com/goodsImages/xindnfsy/flash284.jpg) center center no-repeat #ffcd2b;
            }
            a.ban_2 {
                background: url(https://img.dnfcity.qq.com/goodsImages/xindnfsy/flash285.jpg) center center no-repeat #ffcd2b;
            }
            a.ban_3 {
                background: url(https://img.dnfcity.qq.com/goodsImages/xindnfsy/flash272.jpg) center center no-repeat #ffcd2b;
            }
        }
        ol {
            width: 234px;
            position: absolute;
            bottom: 12px;
            left: 50%;
            margin-left: -117px;
            z-index: 9;
            li {
                width: 68px;
                height: 8px;
                float: left;
                background: #6d6d6d;
                margin-right: 10px;
                cursor: pointer;
            }
            li.ac {
                background: #e93729;
            }
        }
    }

    // 两个下上按钮
    a.car_prev {
        background: url(/images/index/next.png) -10px -10px no-repeat;
        width: 48px;
        height: 103px;
        position: absolute;
        left: 50%;
        margin-left: -358px;
        top: 160px;
        text-indent: 999px;
        overflow: hidden;
    }
    a.car_next {
        background: url(/images/index/next.png) -68px -10px no-repeat;
        width: 48px;
        height: 103px;
        position: absolute;
        left: 50%;
        margin-left: 320px;
        top: 160px;
        text-indent: 999px;
        overflow: hidden;
    }
    > a.car_prev:hover {
        background-position: -10px -123px; 
    }
    > a.car_next:hover {
        background-position: -68px -123px; 
    }
}

//三个广告位
.thr_adver {
    margin: 0 auto;
    margin-top: 40px;
    position: relative;
    height: 190px;
    width: 1120px;
    display: flex;
    justify-content: flex-start;
    a {
        display: block;
        height: 190px;
        width: 366px;
        overflow: hidden;
        img {
            height: 190px;
            width: 366px;
        }
    }
}


//大广告位
a.big_adver {
    width: 1120px;
    margin: 0 auto;
    margin-top: 30px;
    position: relative;
    height: 600px;
    display: block;
}

// 列表广告位
ul.ul_adver {
    overflow: hidden;
    height: 800px;
    width: 1130px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    li {
        width: 1130px;
        margin-right: 10px;
        width: 272px;
        height: 400px;
        padding-top: 2px;
        position: relative;
        img {
            width: 272px;
            height: 290px;
            display: block;
            margin-bottom: 16px;
            background: #f6f6f6;
        }
        a.com_name {
            margin: 0px auto;
            line-height: 28px;
            height: 28px;
            width: 240px;
            overflow: hidden;
            text-align: center;
            font-size: 16px;
            display: block;
            color: #333;
        }
        a.com_name:hover {
            text-decoration: underline;
        }
        div {
            margin: 10px auto 0px auto;
            width: 240px;
            overflow: hidden;
            text-align: center;
            font-size: 14px;
            display: block;
            color: #333;
            span {
                color: red;
            }
        }
    }
}

//热门商品
.hot_com {
    width: 1120px;
    margin: 0 auto;
    margin-top: 40px;
    position: relative;
    height: 452px;
    a {
        display: block;
        height: 452px;
        width: 550px;
        overflow: hidden;
        float: left;
    }
}


